<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
    String contextPath = (String) request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" href="<%=contextPath %>/css/reset.css"
	rel="stylesheet" />
<link rel="stylesheet" href="<%=contextPath %>/css/edit.css" type="text/css" />
<link rel="stylesheet" type="text/css"
	href="<%=contextPath %>/js/jquery-easyui-1.3/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="<%=contextPath %>/css/rs.css">
<link rel="stylesheet" type="text/css"
	href="<%=contextPath %>/js/jquery-easyui-1.3/themes/icon.css">
<link href="<%=contextPath %>/js/uploadify/uploadify.css" rel="stylesheet" type="text/css" />	
<script type="text/javascript"
	src="<%=contextPath %>/js/jquery-easyui-1.3/jquery-1.7.2.min.js"></script>
<script type="text/javascript"
	src="<%=contextPath %>/js/jquery-easyui-1.3/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="<%=contextPath %>/js/jquery-easyui-1.3/locale/easyui-lang-zh_CN.js"></script>
<script type="text/javascript" src="<%=contextPath %>/js/uploadify/jquery.uploadify.min.js"></script>
<script>
	var selectedIds = "";
	$(document).ready(function(){
		$('#wndAdd').window({closed:true});//  data-options="closed:true"
		$('#wndSearch').window({closed:true});
		$('#wndBatchImp').window({closed:true});
		$('#wndDetail').window({closed:true});
	});
	$(function() {
		$('#dataTable').datagrid({			
			title : '专家管理',
			height : 500,
			nowrap : true,
			autoRowHeight : false,
			striped : true,
			collapsible : false,
			url : '<%=contextPath%>/admin/doctorAction.do?method=doctorList4Admin',
			sortName : 'id',
			sortOrder : 'desc',
			remoteSort : false,
			idField : 'id',
			checkOnSelect:false,
			selectOnCheck:true,
			pageList: [10,30,50],
			onCheck:function(rowIndex,rowData){
				selectedIds+=rowData.id+",";
			},
			onSelectAll:function(rows){
				for(var i=0;i<rows.length;i++){
					selectedIds+=rows[i].id+",";
				}
			},
			onUncheckAll:function(rows){
				selectedIds='';
			},
			columns : [ [ {
				field : 'ck',
				checkbox : true
			}, {
				title : 'ID',
				field : 'id',
				width : 30,
				sortable : true
			}, 
			{
				field : 'name',
				title : '姓名',
				width : 100,
				sortable : true
			}, 
			{
				field : 'gender',
				title : '性别',
				width : 50,
				formatter:function(value,row,index){
					if(value=='m') return "男";
					if(value=='f') return "女";
					return '';
				}
			}, 
			{
				field : 'pro_title',
				title : '专业职称',
				width : 80,
				formatter:function(value,row,index){
					return row.pro_title_cn;
				}
			}, 
			{
				field : 'experience',
				title : '从医年数',
				width : 50,
				sortable : true
			}, 

			{
				field : 'education',
				title : '教育水平',
				width : 50,
				sortable : true
			}, 
			{
				field : 'hos_name',
				title : '所属医院',
				width : 150,
				sortable : true
			}, 
			{
				field : 'parent_cat_name',
				title : '科&nbsp;&nbsp;&nbsp;&nbsp;室',
				width : 80,
				sortable : true
			}, 
			{
				field : 'child_cat_name',
				title : '科室类别',
				width : 100,
				sortable : true
			}, 
			{
				field : 'self_code',
				title : '医生编号',
				width : 50,
				sortable : true
			}, 
			
			{
				field : 'opt',
				title : '操作',
				width : 100,
				align : 'center',
				rowspan : 2,
				formatter : function(value, row,index) {
					return '<a style="color:red" href="#" mce_href="#" onClick="editSingle('+row.id+')">编辑</a>&nbsp;&nbsp;<a style="color:red" href="#" mce_href="#" onClick="deleteSingle('+row.id+')">删除</a>';
				},
				hidden : true
			} ] ],

			pagination : true,
			rownumbers : true,
			
			toolbar : [ {
				id : 'btnadd',
				text : '新增',
				iconCls : 'icon-add',
				handler : function() {
					$("#addForm").form('clear');
					$("#img_id").attr('src','');
					$('#wndAdd').window({
						closed:false,
						title:"新增医生",
						width : 800,
						height :450,
						top:($(window).height()-450)*0.5,   
			            left:($(window).width()-800)*0.5,
						modal : true,
						onload:function(){
						//$("")	
						}
					});
				}
			},
			{
				id : 'btnbatch',
				text : '批量导入',
				iconCls : 'icon-add',
				handler : function() {
					$('#btnbatch').linkbutton('enable');
					//清空导入页面的提示信息
					$("#batch_step1").html('');
		            $("#batch_step2").html('');
		            $("#batch_step3").html('');
					$("#wndBatchImp").window({
						title:"批量导入医生信息",
						closed:false,
						width:500,
						height:300,
						top:($(window).height()-300)*0.5,   
			            left:($(window).width()-500)*0.5,
						modal:true,
						onClose:function(){
							$('#dataTable').datagrid('reload');
						}
					});
				}
			},{
				id : 'btnedit',
				text : '编辑',
				iconCls : 'icon-edit',
				handler : function() {
					var rows = $('#dataTable').datagrid('getSelections'); 
					//判断是否选择行
					if (!rows || rows.length == 0) { 
						$.messager.alert('提示', '请选择需要修改的数据!', 'info'); 
						return; 
					} else {
						if (rows.length == 1) {
							editSingle(rows[0].id);
						} else if (rows.length>1) {
							$.messager.alert('提示', '请选择一条数据进行修改!', 'info'); 
							return;
						}
				    }
				}
			},{
				id : 'btncut',
				text : '删除	',
				iconCls : 'icon-cut',
				handler : function() {
					$('#btnsave').linkbutton('enable');
					if(selectedIds.indexOf(',')!=-1){
					deleteSingle(selectedIds);
					}else{
						$.messager.alert('提示','没有选择任何数据!');
					}
				}
			},{
				id : 'btnsearch',
				text : '条件查询',
				iconCls : 'icon-search',
				handler : function() {
					$("#searchForm").form('clear');
					$('#wndSearch').window({
						title:"查询",
						closed:false,
						width : 950,
						height : 200,
						top:($(window).height()-200)*0.5,   
			            left:($(window).width()-950)*0.5,
						modal : true
					});
				}
			}]
		});
		
		
		var p = $('#dataTable').datagrid('getPager');
		$(p).pagination({
			onBeforeRefresh : function() {
				//alert('before refresh');
			}		
		});
		
		// 新增窗口中的下拉菜单
		$("#parent_cat").combobox({
			url:'<%=contextPath %>/admin/secCatalogAction.do?method=getParentCatalogs',
			valueField:'id',
			textField:'name',
			onSelect:function(rec)
			{
				var parentCatId = rec.id;
				var hospitalId = $("#hospital_id").combobox('getValue');
				if(null==hospitalId || ''==hospitalId)
				{
					$("#parent_cat").combobox('setValue','');
					alert("医院和科室不能为空.");
					return;
				}
				var childUrl = '<%=contextPath %>/admin/secCatalogAction.do?method=getChildSecsOfHos&parent_cat_id='+ parentCatId + '&hospital_id='+hospitalId;
				$("#child_cat").combobox({
					url: childUrl,
					valueField:'id',
					textField:'name',
					onSelect:function(rec2){
						var childName = rec2.name;
						$("#name").val(childName);
					},
					onLoadSuccess:function(){
						var child_cat_id = $("#hd_child_cat").val();
						if(child_cat_id!=''&&child_cat_id!='0'){
							$("#child_cat").combobox('setValue',child_cat_id);
						}
					}
				});
			},
			onLoadSuccess:function(){
				var hid_parent_id = $("#hd_parent_cat").val();
				if(hid_parent_id!=''&&hid_parent_id!='0'){
					$("#parent_cat").combobox('setValue',hid_parent_id);
				}
			}
		});

		// 搜索框中的下拉菜单
		$("#sch_parent_cat").combobox({
			url:'<%=contextPath %>/admin/secCatalogAction.do?method=getParentCatalogs',
			valueField:'id',
			textField:'name',
			onSelect:function(rec)
			{
				var childUrl = '<%=contextPath %>/admin/secCatalogAction.do?method=getCatalogOfParent&id='+rec.id;
				
				$("#sch_child_cat").combobox({
					url: childUrl,
					valueField:'id',
					textField:'name',
					onSelect:function(rec2){
						var childName = rec2.name;
						$("#name").val(childName);
					}
				});
			}
		});
		//查询
		$("#btSch").click(function(){
			var v_hospital_id = $("#sch_hospital_id").combobox('getValue');
			var v_parent_cat_id = $("#sch_parent_cat").combobox('getValue');
			var v_child_cat_id = $("#sch_child_cat").combobox('getValue');
			var v_pro_title = $("#sch_pro_title").combobox('getValue');
			var v_self_code = $("#sch_self_code").val();
			var v_status = $("#sch_status").combobox('getValue');
			var v_name = $("#sch_name").val();
			$('#dataTable').datagrid('reload',{
					hospital_id: v_hospital_id,
					parent_cat: v_parent_cat_id,
					child_cat: v_child_cat_id,
					pro_title: v_pro_title,
					self_code: v_self_code,
					status:v_status,
					name:v_name
				//city_code:v_city_code
			});
		});
		
		//清除
		$("#bt_clear").click(function(){
			$("#searchForm").form('clear');
		});
		
		
		//保存
		$("#bt_submit").click(function(){

			$("#addForm").form('submit',{
				url:'<%=contextPath%>/admin/doctorAction.do?method=save',
				onSubmit:function(){
					return validateForm();
				},		
				success:function(data){
					var data = eval('(' + data + ')');  
					$.messager.alert('提示',data.msg);
					if(data.flag=='success'){
					$("#addForm").form('clear');
					$('#wndAdd').window('close');
					$('#dataTable').datagrid('reload');
					}
				}
			});
		});
		
			
		
		$("#bt_close").click(function(){
			$('#wndAdd').window('close');
		});
		
		//上传具体图片文件
		$("#file_image_id").uploadify({
			formData	  :{'system':'reserve-system','busiType':'add','busiTable':'t_doctor','busiId':'image_id','module':'医生管理'},
			height        : 30,
	        swf           : '<%=contextPath%>/js/uploadify/uploadify.swf',
	        uploader      : '<%=contextPath%>/commons/swfupload/upload.do?method=upload&jsessionid=<%=session.getId()%>',
	        cancelImg	  :'<%=contextPath%>/js/uploadify/uploadify-cancel.png',
	        width         : 120,
	        fileTypeDesc : 'Image Files',
	        fileTypeExts : '*.gif; *.jpg; *.png',
			buttonText:'选择图片上传',
			onUploadSuccess : function(file, data, response) {
				var data = eval('('+data+')');
				$("#img_id").attr('src','<%=contextPath%>/upload/'+data.fileName);
				//alert(data.uploadId);
				$("#hid_image_id").val(data.uploadId);
	            //alert(data);
	        }


		});
		//批量导入
		$("#file_imp").uploadify({
			formData	  :{'system':'reserve-system','busiType':'add','busiTable':'t_doctor','busiId':'image_id','module':'医生管理'},
			height        : 30,
	        swf           : '<%=contextPath%>/js/uploadify/uploadify.swf',
	        uploader      : '<%=contextPath%>/commons/swfupload/upload.do?method=upload&jsessionid=<%=session.getId()%>',
	        width         : 120,
	        fileTypeDesc : 'xml 文件',
	        fileTypeExts : '*.xml; *.xlsx',
			buttonText:'选择文件上传',
			onUploadSuccess : function(file, data, response) {
				var data = eval('('+data+')');
				$("#img_id").attr('src','<%=contextPath%>/upload/'+file.name+'.jpg');
				//$("#hid_image_id").val(data.uploadId);
	            //alert('The file ' + file.name+ ' was successfully uploaded with a response of ' + response + ':' + data);
	            $("#batch_step1").html('文件上传成功');
	            $("#batch_step2").html('开始校验并保存信息');
	            $.ajax({
	            	url:'<%=contextPath%>/admin/doctorAction.do?method=importData&upload_id='+data.uploadId,
	            	type:'get',
	            	success:function(data){
	            		var data = eval('('+data+')');
	    	            $.messager.alert('提示',data[0].msg);
	    	            $("#batch_step3").html(data[0].msg+"<br/>");
	    	            if(data[0].flag=='fail'){
	    	            	$("#batch_step3").append("详细:<br/>");
	    	            	for(var i=1;i<data.length;i++){
	    	            	$("#batch_step3").append(data[i]+"<br/>");
	    	            	}
	    	            }
	            		
	            	}
	            });
	        }


		});
		
		//load 医院列表
		$("#hospital_id").combobox({
			url:'<%=contextPath %>/admin/doctorAction.do?method=initHospital',
			editable:false,
			valueField:'id',
			textField:'name',	
			onSelect:function(rec)
			{
				var url = '<%=contextPath %>/admin/doctorAction.do?method=initSecList&hospital_id='+rec.id;
				$('#section_id').combobox({
					url:url,
					valueField:'id',
					textField:'name',
					editable:false,
					onLoadSuccess:function()
					{
						
					}
				});
			}
		});
	});
	
	//查看详细
	function viewSingle(id){
		$('#wndDetail').window({
			title:"详情",
			closed:false,
			width : 700,
			height : 450,
			top:($(window).height()-450)*0.5,   
            left:($(window).width()-700)*0.5,
            loadingMessage:"加载中...",
			onOpen:function(){
				document.getElementById("frmDetail").src="<%=contextPath%>/admin/doctorAction.do?method=view&id="+id;
			},
			modal : true
		});
	}
	
	//编辑
	function editSingle(id){
		$("#addForm").form('clear');
		$.ajax({
			url:"<%=contextPath%>/admin/doctorAction.do?method=edit&id="+id+"&radom="+Math.random(),
			type:"post",
			success:function(data){
				var data = eval('('+data+')');
				$("#e_name").val(data.name);
				$("#e_gender").combobox('select',data.gender);
				
				$("#hospital_id").combobox('select',data.hospitalId);
				$("#hospital_id").trigger('onSelect');

				$("#hd_parent_cat").val(data.parentCat);
				$("#hd_child_cat").val(data.sectionId);

				$("#parent_cat").combobox('select',data.parentCat)

				var parentCatId = data.parentCat;
				var hospitalId = data.hospitalId;
				if(null==hospitalId || ''==hospitalId)
				{
					$("#parent_cat").combobox('setValue','');
					alert("医院不能为空.");
					return;
				}
				var childUrl = '<%=contextPath %>/admin/secCatalogAction.do?method=getChildSecsOfHos&parent_cat_id='+ parentCatId + '&hospital_id='+hospitalId;
				
				$("#child_cat").combobox({
					url: childUrl,
					valueField:'id',
					textField:'name',
					onSelect:function(rec2){
						var childName = rec2.name;
						$("#name").val(childName);
					},
					onLoadSuccess:function(){
						var child_cat_id = $("#hd_child_cat").val();
						if(child_cat_id!=''&&child_cat_id!='0'){
							$("#child_cat").combobox('setValue',child_cat_id);
						}
					}
				});
				/*
				var child_cat = $("#hd_child_cat").val();
				if(child_cat!=''){
					$("#child_cat").combobox('select',child_cat);
					 $("#hd_child_cat").val('');
				}
				*/

				
				$("#id").val(data.id);
				$("#e_self_code").val(data.selfCode);
				$("#e_education").val(data.education);
				$("#e_pro_title").combobox('select',data.proTitle);
				$("#e_experience").val(data.experience);
				$("#hid_image_id").val(data.image_id);
				if(data.path=='null'||data.path==''){
					$("#img_id").attr('src','<%=contextPath%>/img/no_photo.jpg');
					
				}else{
					
				$("#img_id").attr("src",'<%=contextPath%>/upload'+data.path);
				}
				$("#remark").val(data.remark);
				$("#intro").val(data.intro);
				$("#e_status").combobox('setValue',data.status);
			}
		});
		$('#wndAdd').window({
			title:"编辑",
			closed:false,
			width : 700,
			height :450,
			top:($(window).height()-450)*0.5,   
            left:($(window).width()-700)*0.5,
			onload:function(){
			
			},
			modal : true
		});
	}
	
	//删除
	function deleteSingle(id){
		$.messager.confirm('删除','确定删除选择的医生吗?',function(r){
			if(r){
				$.ajax({
					url:"<%=contextPath%>/admin/doctorAction.do?method=delete&id="+id,
					type:"post",
					success:function(data){
					var data = eval('(' + data + ')');
					$.messager.alert('提示',data.msg);
					selectedIds = "";//多选时保存id  删除成功清空
					$('#dataTable').datagrid('reload');
					}
				});
			}
		});
	}
	
	// /^\d+$/.test(value);
	//自己验证  
	function validateForm(){
		var msg = "";
		//名称
		if($.trim($("#e_name").val())=='') {msg+="请输入医生姓名!<br/>";}
		//性别
		if($("#e_gender").combobox('getValue')=='') {msg+="请选择医生性别!<br/>";}
		//医院
		if($("#hospital_id").combobox('getValue')=='') {msg+="请选择所属医院!<br/>";}
		if($("#parent_cat").combobox('getValue')=='') {msg+="请选择科室!<br/>";}
		if($("#child_cat").combobox('getValue')=='') {msg+="请选择科室分类!<br/>";}
		if($.trim($("#e_self_code").val())=='') {msg+="请输入内部编码!<br/>";}
		if($("#e_pro_title").combobox('getValue')=='') {msg+="请选择专业职称!<br/>";}
		if($.trim($("#e_experience").val())!=''&&!/^\d+$/.test($.trim($("#e_experience").val()))) {msg+="从医年数请输入整数!<br/>";}
		if($("#e_status").combobox('getValue')=='') {msg+="请选择医生的状态!<br/>";}
		if(msg!='')
		{
			$.messager.alert('错误',msg);
			return false;
		}
		else
		{
			return true;
		}
	}
	
	
</script>
<title>专家管理</title>
</head>
<body>

<div id="wndSearch" class="easyui-window">
<div class="easyui-panel admin_search" data-option="fit:true" style="margin:2px 2px">
	<form id="searchForm">
		<table>
			<tr>
				<td class="textr w80">医院：</td>
				<td style="width:160px" >
					<select id="sch_hospital_id" class="easyui-combobox" name="hospital_id" 
						data-options="valueField:'id',textField:'name',url:'<%=contextPath %>/admin/doctorAction.do?method=initHospital'" >
						<option value="" selected>所有医院</option>
					</select>
				</td>
				<td class="textr w80">科室：</td>
				<td style="width:160px" >
					<input id="sch_parent_cat" class="easyui-combobox" name="sch_parent_cat" style="width:150px;" 
						data-options="editable:false,valueField:'id',textField:'name',style:{width:150}"/>
				</td>
			 </tr>
			 <tr>
				<td class="textr w80">科室类别：</td>
				<td style="width:160px" >
					<input id="sch_child_cat" class="easyui-combobox" name="sch_child_cat" style="width:150px;"  
						data-options="editable:false,valueField:'id',textField:'name',style:{width:150}"/>
				</td>
				<td class="textr" style="width:60px;">职称：</td>
				<td>
					
					<input id="sch_pro_title" class="easyui-combobox" name="pro_title" style="width:100px" 
						data-options="editable:false,valueField:'key',textField:'value',url:'<%=contextPath %>/admin/doctorAction.do?method=initProtitleList'" />
				</td>
			</tr>
			<tr>
				<td class="textr">医生姓名：</td>
				<td><input type="text" class="admin-input" id="sch_name" name="name"></td>
				<td class="textr">医生编号：</td>
				<td><input type="text" class="admin-input" id="sch_self_code" name="self_code"></td>
			</tr>
			<tr>	
				<td class="textr">医生状态：</td>
				<td>
					<select class="easyui-combobox admin-select" id="sch_status" name="status" style="width:160px;corsor:hand;" 	
						data-options="editable:false,valueField:'id',textField:'text',data:[{id:'1',text:'有效'},{id:'0',text:'无效'}]">
					</select>
				</td>
				<td colspan="2" style="padding-left:5px;">
					
					<a href="javascript:void(0);" id="btSch" class="easyui-linkbutton" data-options="iconCls:'icon-search'">查 询</a>&nbsp;
					<a href="javascript:void(0);" id="bt_clear" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'">清除</a>
			
				</td>
			</tr>
		</table>
		</form>
	</div>
	</div>
	
	<div class="easyui-panel" data-option="fit:true" style="overflow:auto;">
		<table id="dataTable" class="easyui-datagrid">
		</table>
	</div>
	<div id="wndAdd" class="easyui-window">
		<div class="admin_search mAtuo"
			style="width: 520px; background-color: #fff;">
			
			<form id="addForm" method="post">
			<input type="hidden" name="id" id="id"/> 
			<table>
				<tr>
					<td class="textr w80">医生名称：</td>
					<td><input type="text" id="e_name" name="name" class="admin-input"></td>
					<td class="textr w80">性别：</td>
					<td class="w180"><select class="easyui-combobox admin-select" name="gender" id="e_gender" data-options="editable:false,valueField:'id',textField:'text',data:[{id:'m',text:'男',selected:true},{id:'f',text:'女'}]">
					</select></td>
				</tr>
				<tr>
					<td class="textr w80">所属医院：</td>
					<td class="w180">
					<select id="hospital_id" class="easyui-combobox" name="hospitalId">
					</select>
					</td>
					<td class="textr w80">状态：</td>
					<td class="w180">
						<select class="easyui-combobox admin-select" id="e_status" name="status" 
							data-options="valueField:'id',textField:'text',data:[{id:'',text:'所有'},{id:'1',text:'有效'},{id:'0',text:'无效'}]">
						</select>
					</td>					
				</tr>
				<tr>
					<td class="textr w80">科&nbsp;&nbsp;室：</td>
					<td class="w180">
								<input class="easyui-combobox" id="parent_cat" name="parent_cat" 
									 style="width:150px;" 
									 data-options="editable:false,valueField:'id',textField:'name',style:{width:150}" />
								<input type="hidden" id="hd_parent_cat" name="hd_parent_id" value="" />
					</td>
					<td class="textr w80">科室类别：</td>
					<td class="w180">
							<input id="child_cat" class="easyui-combobox" name="child_cat" 
									style="width:150px;" 
									data-options="editable:false,valueField:'id',textField:'name',style:{width:150}"/>
							<input type="hidden" id="hd_child_cat" name="hd_child_cat" value="" />
					</td>					
				</tr>
				<tr>
					<td class="textr w80">医生编号：</td>
					<td><input type="text" class="admin-input" id="e_self_code" name="selfCode"></td>
					<td class="textr w80">教育程度：</td>
					<td><input type="text" class="admin-input" id="e_education" name="education"></td>
				</tr>
				<tr>
					<td class="textr w80">专业职称：</td>
					<td>
					<input id="e_pro_title" class="easyui-combobox" name="proTitle" data-options="valueField:'key',textField:'value',url:'<%=contextPath %>/admin/doctorAction.do?method=initProtitleList'"/>
					</td>
					<td class="textr w80">从医年数：</td>
					<td><input type="text" class="admin-input" id="e_experience" name="experience"></td>
				</tr>
				<tr>
					<td class="textr w80">医生图片：</td>
					<td class="w180"><input type="file" id="file_image_id" name="f_image_id" class="admin-input">
					<input type="hidden" id="hid_image_id" name="imageId"/></td>
					<td colspan="2"><img id="img_id" src="" width="80" height="50"/></td>
				</tr>

				<tr>
					<td class="textr w80">医生介绍：</td>
					<td colspan="3">
					<textarea rows="3" cols="75" style="border:solid 1px #D3D3D3" name="intro" id="intro"></textarea>
					</td>
					
				</tr>
				<tr>
					<td class="textr w80">备注：</td>
					<td colspan="3">
					<textarea rows="3" cols="75" style="border:solid 1px #D3D3D3" name="remark" id="remark"></textarea>
					</td>
				</tr>
			</table>
			</form>
			<div style="text-align: center;">
			<a href="javascript:void(0);" id="bt_submit" class="easyui-linkbutton" data-options="iconCls:'icon-ok'">保存</a>&nbsp;&nbsp;
			<a href="javascript:void(0);" id="bt_close" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'">关闭</a>
			</div>
		</div>
	</div>
	
	<div id="wndBatchImp" class="easyui-window" >
		<input type="file" id="file_imp" name="file_imp"/>
		<p id="batch_step1"></p>
		<p id="batch_step2"></p>
		<p id="batch_step3"></p>
	</div>
	<div id="wndDetail" class="easyui-window" >
	<iframe id="frmDetail" src="" width="100%" height="370px;"
			frameborder="0" scrolling="no" style="border: 0px none;" ></iframe>
			</div>
</body>
</html>